package com.zw.stock_sell_storage.utils;

import com.zw.stock_sell_storage.constant.MessageCode;
import lombok.Data;

/**
 * 相应对象
 */
@Data
public class JsonResult<T> {
    //响应消息
    private String message;
    //响应编码
    private String code;
    //数据
    private T data;

    public JsonResult() {
        this.message= MessageCode.SUCCESS.message;
        this.code=MessageCode.SUCCESS.code;
    }
}
